package com.xiehospital.common.core.domain.entity;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.xiehospital.common.annotation.Excel;
import com.xiehospital.common.core.domain.BaseEntity;

/**
 * 床位类型信息对象 sys_btype
 *
 * @author xierujian
 * @date 2024-02-21
 */
public class SysBtype extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 床位类型ID */
    private Long btypeId;

    /** 床位类型编码 */
    @Excel(name = "床位类型编码")
    private String btypeCode;

    /** 床位类型名称 */
    @Excel(name = "床位类型名称")
    private String btypeName;

    /** 显示顺序 */
    @Excel(name = "显示顺序")
    private Long btypeSort;

    /** 状态（0正常 1停用） */
    @Excel(name = "状态", readConverterExp = "0=正常,1=停用")
    private String status;

    public void setBtypeId(Long btypeId)
    {
        this.btypeId = btypeId;
    }

    public Long getBtypeId()
    {
        return btypeId;
    }
    public void setBtypeCode(String btypeCode)
    {
        this.btypeCode = btypeCode;
    }

    public String getBtypeCode()
    {
        return btypeCode;
    }
    public void setBtypeName(String btypeName)
    {
        this.btypeName = btypeName;
    }

    public String getBtypeName()
    {
        return btypeName;
    }
    public void setBtypeSort(Long btypeSort)
    {
        this.btypeSort = btypeSort;
    }

    public Long getBtypeSort()
    {
        return btypeSort;
    }
    public void setStatus(String status)
    {
        this.status = status;
    }

    public String getStatus()
    {
        return status;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
                .append("btypeId", getBtypeId())
                .append("btypeCode", getBtypeCode())
                .append("btypeName", getBtypeName())
                .append("btypeSort", getBtypeSort())
                .append("status", getStatus())
                .append("createBy", getCreateBy())
                .append("createTime", getCreateTime())
                .append("updateBy", getUpdateBy())
                .append("updateTime", getUpdateTime())
                .append("remark", getRemark())
                .toString();
    }
}
